package com.pi.push.dto.result.respcode;

public enum AppPushResp {
  RESP_UNKNOW_ERROR(5100100, "APP_PUSH.UNKNOW_ERROR", "未知错误"),
  RESP_CLIENT_ID_EMPTY(5100101, "APP_PUSH.CLIENT_ID_EMPTY", "客户端id为空"),
  RESP_PUSH_CONFIG_EMPTY(5100102, "APP_PUSH.PUSH_CONFIG_EMPTY", "推送配置为空"),
  RESP_PUSH_FAIL(5100103, "APP_PUSH.PUSH_FAIL", "来源配置不存在"),
  RESP_CONFIG_APP_ID_NOT_FOUND(5100104, "APP_PUSH.APP_ID_NOT_FOUND", "appId不存在"),
  RESP_CONFIG_APP_SECRET_NOT_FOUND(5100105, "APP_PUSH.APP_SECRET_NOT_FOUND", "appSecret不存在"),
  RESP_CONFIG_APP_KEY_NOT_FOUND(5100106, "APP_PUSH.APP_KEY_NOT_FOUND", "appKey不存在"),
  RESP_CONFIG_MASTER_SECRET_NOT_FOUND(5100107, "APP_PUSH.MASTER_SECRET_NOT_FOUND", "masterSecret不存在")
  ;
  private int errorCode;
  private String tag;
  private String desc;
  private AppPushResp(int errorCode, String tag, String desc) {
    this.errorCode = errorCode;
    this.tag = tag;
    this.desc = desc;
  }
  public int getErrorCode() {
    return errorCode;
  }
  public String getTag() {
    return tag;
  }
  public String getDesc() {
    return desc;
  }
}
